import request from '@/utils/request'

export function getInterfaces(params) {
  return request({
    url: '/interfaces/index',
    method: 'get',
    params: params
  })
}

// 删除角色
export function UpdateInterfaces(data) {
  return request({
    url: '/interfaces/update',
    method: 'post',
    data: data
  })
}

export function getInterface(params) {
  return request({
    url: '/interfaces/view',
    method: 'get',
    params: params
  })
}
